import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import "./utils/flexible"
// import "./utils/resize"
// import "./assets/css/common.scss"

// 引入element-ui
import {
    Table,
    TableColumn,
    Dialog,
    Button,
    Icon,
    Select,
    Option,
    OptionGroup,
    DatePicker,
    Container,
    Header,
    Main,
    Tree,
    Input,
    Cascader,
    Carousel,
    CarouselItem,
    Pagination
} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Dialog);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Select);
Vue.use(Option);
Vue.use(OptionGroup);
Vue.use(DatePicker);
Vue.use(Container);
Vue.use(Header);
Vue.use(Main);
Vue.use(Tree);
Vue.use(Input);
Vue.use(Cascader);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Pagination);

// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// Vue.use(ElementUI);

import * as echarts from "echarts";
Vue.prototype.$echarts = echarts

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
